package com.chinatelecom.ifree.business.domain.base;

import java.io.Serializable;

public class BoolObjResult implements Serializable {
	private static final long serialVersionUID = 1021101091137064802L;
	private boolean result;
	private int code;
	private String msg;
	private Object obj;

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	@Override
	public String toString() {
		return this.getClass().getName() + "[result=" + result + ", code=" + code + ", msg=" + msg + ", obj=" + obj + "]";
	}

}
